package com.esri.core.geometry;

import java.util.Comparator;

/* loaded from: classes.dex */
class PolylinePathComparator implements Comparator<PolylinePath> {
    PolylinePathComparator() {
    }

    @Override // java.util.Comparator
    public int compare(PolylinePath polylinePath, PolylinePath polylinePath2) {
        if (polylinePath.c < polylinePath2.c) {
            return -1;
        }
        return polylinePath.c > polylinePath2.c ? 1 : 0;
    }
}
